<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/CraterCity.Service.Components.DataContract" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/CraterCity.Service.Components.DataContract" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import schemaLocation="http://jplbeamartian.cloudapp.net:8080/Task.svc?xsd=xsd4" namespace="http://schemas.datacontract.org/2004/07/GalaxyZoo.Client.Model" />
  <xs:import schemaLocation="http://jplbeamartian.cloudapp.net:8080/Task.svc?xsd=xsd3" namespace="http://schemas.datacontract.org/2004/07/Microsoft.Dallas.Services" />
  <xs:complexType name="MarsMappingTask">
    <xs:sequence>
      <xs:element minOccurs="0" name="BackgroundAssets" nillable="true" type="tns:AssetArray" />
      <xs:element minOccurs="0" name="Error" nillable="true" type="xs:string" />
      <xs:element xmlns:q1="http://schemas.datacontract.org/2004/07/GalaxyZoo.Client.Model" minOccurs="0" name="ImageMetadataList" nillable="true" type="q1:ArrayOfMetadata" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="MarsMappingTask" nillable="true" type="tns:MarsMappingTask" />
  <xs:complexType name="AssetArray">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:TileExtents">
        <xs:sequence>
          <xs:element xmlns:q2="http://schemas.datacontract.org/2004/07/GalaxyZoo.Client.Model" minOccurs="0" name="AssetCollection" nillable="true" type="q2:AssetCollection" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="AssetArray" nillable="true" type="tns:AssetArray" />
  <xs:complexType name="TileExtents">
    <xs:sequence>
      <xs:element minOccurs="0" name="DimensionX" type="xs:int" />
      <xs:element minOccurs="0" name="DimensionY" type="xs:int" />
      <xs:element minOccurs="0" name="ImageId" nillable="true" type="xs:string" />
      <xs:element xmlns:q3="http://schemas.datacontract.org/2004/07/Microsoft.Dallas.Services" minOccurs="0" name="InstrumentType" type="q3:InstrumentType" />
      <xs:element minOccurs="0" name="LatitudeMax" type="xs:double" />
      <xs:element minOccurs="0" name="LatitudeMin" type="xs:double" />
      <xs:element minOccurs="0" name="LongitudeMax" type="xs:double" />
      <xs:element minOccurs="0" name="LongitudeMin" type="xs:double" />
      <xs:element xmlns:q4="http://schemas.datacontract.org/2004/07/Microsoft.Dallas.Services" minOccurs="0" name="MarsRegion" type="q4:MarsRegion" />
      <xs:element minOccurs="0" name="Resolution" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="TileExtents" nillable="true" type="tns:TileExtents" />
  <xs:complexType name="TaskData">
    <xs:sequence>
      <xs:element minOccurs="0" name="BadgeLevel" type="xs:int" />
      <xs:element minOccurs="0" name="Error" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ReputationScore" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="TaskCount" type="xs:int" />
      <xs:element minOccurs="0" name="TasksForNextBadge" type="xs:int" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="TaskData" nillable="true" type="tns:TaskData" />
</xs:schema>